package com.appspot.modutajataja;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;

public class MoaGame extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.touch_game);

		WebView webViewGame = (WebView) findViewById(R.id.touch_game_webView);
		webViewGame.getSettings().setJavaScriptEnabled(true);
		
		WebSettings set = webViewGame.getSettings();
		set.setLoadWithOverviewMode(true);
		set.setUseWideViewPort(true);
		webViewGame.setInitialScale(50);
		webViewGame.setVerticalScrollBarEnabled(false);
		webViewGame.setHorizontalScrollBarEnabled(false);
		
		webViewGame.loadUrl("file:///android_asset/game/touch/touch_game.html");
	}
};